package com.hotel.project.demo.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("hotel_answer")
public class HotelAnswerEntity extends BaseEntity{
    @TableField("question_id")
    private Long questionId;
    @TableField("user_id")
    private Long userId;
    @TableField("user_nickname")
    private String userNickname;
    @TableField("user_head_portrait")
    private String userHeadPortrait;
    @TableField("content")
    private String content;

    @TableField(exist = false)
    private HotelQuestionEntity hotelQuestionEntity;
}
